// ==UserScript==
// @grant        GM_getResourceText
// @grant        GM_addStyle
// @grant        GM_xmlhttpRequest
// @name         美团数据导出
// @namespace    https://gitee.com/xvcer/tampermonkey-meituan
// @version      1.0.9
// @author       xpure@foxmail.com
// @updateURL    https://gitee.com/xvcer/tampermonkey-meituan/raw/master/version
// @downloadURL  https://gitee.com/xvcer/tampermonkey-meituan/raw/master/main.js
// @require      http://coffeescript.org/v2/browser-compiler-legacy/coffeescript.js
// @require      https://cdn.jsdelivr.net/combine/npm/jquery@3,npm/papaparse@4,npm/@fancyapps/fancybox@3,npm/lodash@4
// @resource     cssFancybox https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3/dist/jquery.fancybox.min.css
// @resource     cssMain https://gitee.com/xvcer/tampermonkey-meituan/raw/master/main.css
// @include      https://*.meituan.com/s/*
// @include      https://www.meituan.com/error/403
// ==/UserScript==

function addCss(name) {
  GM_addStyle(
    GM_getResourceText(name)
  )
}

(function() {
  addCss('cssFancybox')
  addCss('cssMain')
})();
